package com.probox.common.entity.service.recharge;

import com.baomidou.mybatisplus.extension.service.IService;
import com.probox.common.entity.domain.recharge.RechargeRecordRights;

import java.util.List;

/**
 * 充值对应的权益Service接口
 *
 * @author usoft
 * @date 2022-11-02
 */
public interface IRechargeRecordRightsService extends IService<RechargeRecordRights> {


    /**
     * 查询充值对应的权益
     *
     * @param detailId 充值对应的权益ID
     * @return 充值对应的权益
     */
    public RechargeRecordRights selectRechargeRecordRightsById(Long detailId);


    /**
     * 查询充值对应的权益列表
     *
     * @param rechargeRecordRights 充值对应的权益
     * @return 充值对应的权益集合
     */
    public List<RechargeRecordRights> queryList(RechargeRecordRights rechargeRecordRights);

    /**
     * 新增充值对应的权益
     *
     * @param rechargeRecordRights 充值对应的权益
     * @return 结果
     */
    public boolean insertRechargeRecordRights(RechargeRecordRights rechargeRecordRights);

    /**
     * 修改充值对应的权益
     *
     * @param rechargeRecordRights 充值对应的权益
     * @return 结果
     */
    public boolean updateRechargeRecordRights(RechargeRecordRights rechargeRecordRights);

    /**
     * 批量删除充值对应的权益
     *
     * @param detailIds 需要删除的充值对应的权益ID
     * @return 结果
     */
    public boolean deleteRechargeRecordRightsByIds(Long[] detailIds);


}
